<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class CreateUserAttTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('user_atts', function (Blueprint $table) {
            $table->increments('att_id');
            $table->integer('id');
            $table->enum('gander',['男','女']);
            $table->integer('age');
            $table->integer('vid');
            $table->string('user_img');
            $table->string('right');
            $table->string('nick');
            $table->string('intro');
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::drop('user_atts');
    }
}
